-- PB版本号
Version = "Beta 1.0" -- 版本

-- 默认文件名☆
DefaultFileName = "New World"
-- 游戏状态
Start = 0
Loading = 1
Gaming = 2
Pause = 3
languages = 1

-- 地图大小
SmallMap = 1
NormalMap = 2
LargeMap = 3
--
GameState = {
    State = Start
}
langs = {Chinese,English}

LanguageSet = langs[languages]

-- 游戏设置
SettingList = {
ShowDebug = true,
ShowDebugCollision = true,
ShowTouchPos = false,
HideGUI = false,
}
function setLanguage(languagePack)
    LP = languagePack
end

setLanguage(LanguageSet)

function saveSetting()
    for k,v in pairs(SettingList) do
        saveLocalData(k,v)
    end
end

function readSetting()
    for k,v in pairs(SettingList) do
        SettingList[k] = readLocalData(k,v)
    end
end

readSetting()